package bravo.xc.com.xc_bravo_android.operation.login;


import android.content.Context;

import bravo.xc.com.xc_bravo_android.base.BasePresenter;
import bravo.xc.com.xc_bravo_android.base.BaseView;
import bravo.xc.com.xc_bravo_android.beans.LoginBeans;
import bravo.xc.com.xc_bravo_android.beans.LoginResultBeans;

/**
 * CREATED BY YANK
 * DATE : 2017/10/22
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :契约类
 */

public interface LoginContract {

     interface LoginView extends BaseView {
        boolean checkNull();
        void setNull(int choice);
        void showProgress(boolean show);
        void toNewActivity(int intent);
        void setSP(LoginResultBeans loginResultBeans);
        void setAlia();
    }

     abstract class LoginPresenter extends BasePresenter<LoginView> {

        public abstract void doLogin(LoginBeans user, Context contexts);

            
    }

}
